FROM openjdk:21-jdk
VOLUME /tmp
ADD target/dockertest-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8888
ENTRYPOINT ["bash", "-c", "java -Djava.security.egd=file:/dev/./urandom -jar /app.jar --spring.profiles.active=prd"]
